<?php
namespace FoxLib\Contexts;

class ConsumerContext
{
    protected $consumer;
    protected $userId;
    protected $scopes;

    public function initialize($consumer, $userId, $scopes)
    {
        $this->consumer = $consumer;
        $this->userId = $userId;
        $this->scopes = $scopes;
    }

    public function getConsumer()
    {
        return $this->consumer;
    }

    public function getUserId()
    {
        return $this->userId;
    }

    public function getScopes()
    {
        return $this->scopes;
    }
}